<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
	content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,member-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<script type="text/javascript" src="lib/PIE_IE678.js"></script>
<![endif]-->
<link href="css/H-ui.min.css" rel="stylesheet" type="text/css" />
<link href="css/H-ui.admin.css" rel="stylesheet" type="text/css" />
<link href="lib/Hui-iconfont/1.0.1/iconfont.css" rel="stylesheet"
	type="text/css" />
<!--[if IE 6]>
<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>用户列表</title>

</head>
<body>
	<div class="pd-20">
		<div class="text-c">
			<form action="back_search.etask" method="post">
				<input type="hidden" id="youid" name="youid"
					value='<s:property value="#youid"/>' /> 日期范围： <input type="text"
					onfocus="WdatePicker({maxDate:'#F{$dp.$D(\'datemax\')||\'%y-%M-%d\'}'})"
					id="datemin" name="datemin" value='<s:property value="#datemin"/>'
					class="input-text Wdate" style="width:120px;"> - <input
					type="text"
					onfocus="WdatePicker({minDate:'#F{$dp.$D(\'datemin\')}',maxDate:'%y-%M-%d'})"
					id="datemax" name="datemax" value='<s:property value="#datemax"/>'
					class="input-text Wdate" style="width:120px;"> <input
					type="text" class="input-text" style="width:250px"
					placeholder="输入会员名称、电话" id="key" value='<s:property value="#key"/>'
					name="key">
				<button type="submit" class="btn btn-success radius" id="" name="">
					<i class="Hui-iconfont">&#xe665;</i> 搜用户
				</button>
			</form>
		</div>
		<div class="mt-20">
			<table
				class="table table-border table-bordered table-hover table-bg table-sort">
				<thead>
					<tr class="text-c">
						<th width="40">ID</th>
						<th width="100">用户名</th>
						<th width="100">手机</th>
						<th width="40">等级</th>
						<th width="45">接任务数</th>
						<th width="45">发任务数</th>
						<th width="90">是否是渠道方</th>
						<th width="130">加入时间</th>
						<th width="70">状态</th>
						<th width="100">操作</th>
					</tr>
				</thead>
				<tbody>
					<s:iterator value="#childlist" status="L">
						<tr class="text-c">
							<input type="hidden" id="userid" name="userid"
								value='<s:property value="userid"/>' />
							<td><s:property value='#L.index+1' /></td>
							<td><s:property value="nickname" /></td>
							<td><s:property value="mobile" /></td>
							<td><s:property value="ranks" /></td>
							<td><s:property value="takeTaskNum" /></td>
							<td><s:property value="postTaskNum" /></td>

							<td><s:property value="is_channel" /></td>
							<td><s:property value="createtime" /></td>
							<td class="td-status"><span
								class="label label-success radius"><s:property
										value="black" /></span></td>
							<td class="td-manage"><a title="详情" href="javascript:;"
								onclick="member_show('详情','back_userinfo.etask?userid='+<s:property value="userid"/>,'4','','510')"
								class="ml-5" style="text-decoration:none"><i
									class="Hui-iconfont">&#xe6df;</i></a></td>
						</tr>
					</s:iterator>
				</tbody>
			</table>
		</div>
	</div>
	<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
	<script type="text/javascript" src="lib/layer/1.9.3/layer.js"></script>
	<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
	<script type="text/javascript" src="lib/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript"
		src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
	<script type="text/javascript" src="js/H-ui.js"></script>
	<script type="text/javascript" src="js/H-ui.admin.js"></script>
	<script type="text/javascript">
		$(function() {
			$('.table-sort').dataTable({
				"aaSorting" : [ [ 0, "desc" ] ],//默认第几个排序
				"bStateSave" : true,//状态保存
				"aoColumnDefs" : [
				//{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
				{
					"orderable" : false,
					"aTargets" : [  6, 8,9 ]
				} // 制定列不参与排序
				]
			});
			$('.table-sort tbody').on('click', 'tr', function() {
				if ($(this).hasClass('selected')) {
					$(this).removeClass('selected');
				} else {
					table.$('tr.selected').removeClass('selected');
					$(this).addClass('selected');
				}
			});
		});
		/*用户-查看*/
		function member_show(title, url, id, w, h) {
			layer_show(title, url, w, h);
		}
		
	</script>
</body>
</html>